﻿<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>Adress Book</title>
	<script src="jquery.js" type="text/javascript" charset="utf-8"></script>
	<script src="addElements.js" type="text/javascript" charset="utf-8"></script>

</head>
<body>

<h1 align="center">Adress Form</h1>
<form action="" method="get">
<table width="100%" bordercolor="#000000" border="1">
  <tr>
    <td width="36%"><img src="../foto/buf.jpg" width="103" height="100"></td>
    <td width="64%" rowspan="3" valign="top"><div align="center">
      <h2>Phones</h2>
	  <input name="AddTel" type="submit" value="AddTel" />
	  <input name="DelTel" type="submit" value="DelTel" />
	  <table width="100%" bordercolor="#000000" border="1">
    $Phones
</table>

    </div></td>
  </tr>
  <tr>
    <td>Name:
      <input name="fname" type="text" value="$FName" size="15" /></td>
  </tr>
  <tr>
    <td>LastName: 
      <input name="lname" type="text" value="$LName" size="15" /></td>
  </tr>
  <tr>
    <td>Birthday: 
      <input name="bd" type="text" value="$BD" size="15" /></td>
    <td width="64%" valign="top"><div align="center">
      <h2>Addresess</h2>
	  <input name="AddAdr" type="submit" value="AddAdr" />
	  <input name="DelAdr" type="submit" value="DelAdr" />
	  <table width="100%" bordercolor="#000000" border="1">
  <tr>
    <td bordercolor="#666666" bgcolor="#F0F0F0"><div align="center">AdrType</div></td>
    <td bordercolor="#666666" bgcolor="#F0F0F0"><div align="center">Country</div></td>
    <td bordercolor="#666666" bgcolor="#F0F0F0"><div align="center">City</div></td>
    <td bordercolor="#666666" bgcolor="#F0F0F0"><div align="center">Street</div></td>
    <td bordercolor="#666666" bgcolor="#F0F0F0"><div align="center">Flat</div></td>
	<td bordercolor="#666666" bgcolor="#F0F0F0"><div align="center">AdrID</div></td>
    <td bordercolor="#666666" bgcolor="#F0F0F0"><div align="center">Check</div></td>
  </tr>
  
    $Adres
</table>

    </div></td>
  </tr>
  <tr>
    <td><input type="submit" name="Del" value="Del" /></td>
    <td width="64%"><div align="center">
      <input type="submit" name="Save" value="Save" />
      <input type="submit" name="Close" value="Close" />
      <a href="$persone">Upadate</a></div>
	  <input type="submit" name="GetCity" value="GetCity" />
	  <input type="submit" name="GetStreet" value="GetStreet" />	  </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</form>

 
<p>
    <form name="testform" action="test.php" method="POST">
      <input type="hidden" id="default-id" value="0">
      <input type="hidden" id="default-option-id" value="0">
      <input type="submit" value="Отправить!">
      <div>
        <select name="testselect">
          <option value="option-0">option 0</option>
        </select>
      </div>
      
    </form>
    <a href="javascript:{}" onClick="addInput()">addField</a><br>
    <a href="javascript:{}" onClick="addOption()">AddList</a>
  </p>
 

</body>
</html>


